<template>
  <div id="main">
    <div id="bird">
      <div class="tou"></div>
      <div class="zui"></div>
      <div class="shen">
        <div></div>
      </div>
      <div class="wei"></div>
      <div class="mao m1"></div>
      <div class="mao m2"></div>
      <div class="mao m3"></div>
      <ul>
        <li></li>
        <li></li>
        <li></li>
        <li></li>
        <li></li>
      </ul>
    </div>
    <dl>
      <dt>404</dt>
      <dd>页面未找到</dd>
      <el-button text type="info" @click="toHome" style="margin-top: 30px">返回首页</el-button>
    </dl>
  </div>
</template>

<script setup>
import router from "../../router/router.js";

const toHome = ()=>{
  router.push("/")
}
</script>

<style scoped>
body {
  background-color: #fff
}

* {
  margin: 0;
  padding: 0
}

#main {
  width: 100%;
  height: 100%;
  overflow: hidden
}

#bird {
  height: 150px;
  position: relative;
  top: 50px;
  left: 50px;
  animation: fly 8s linear infinite;
  -moz-animation: fly 8s linear infinite;
  -webkit-animation: fly 8s linear infinite;
  -o-animation: fly 8s linear infinite;
}

@keyframes fly {
  0% {
    left: 0
  }

  100% {
    left: 120%
  }
}

@keyframes zui {
  0% {
    /*left: left:41px;*/
    left: 41px;
  }

  100% {
    left: 66px;
  }
}

@-webkit-keyframes fly {
  0% {
    left: 0
  }

  100% {
    left: 120%
  }
}

@-webkit-keyframes zui {
  0% {
    /*left: left:41px;*/
    left: 41px;
  }

  100% {
    left: 66px;
  }
}

@-moz-keyframes fly {
  0% {
    left: 0
  }

  100% {
    left: 120%
  }
}

@-moz-keyframes zui {
  0% {
    /*left: left:41px;*/
    left: 41px;
  }

  100% {
    left: 66px;
  }
}

@-o-keyframes fly {
  0% {
    left: 0
  }

  100% {
    left: 120%
  }
}

@-o-keyframes zui {
  0% {
    /*left: left:41px;*/
    left: 41px;
  }

  100% {
    left: 66px;
  }
}

@-ms-keyframes fly {
  0% {
    left: 0
  }

  100% {
    left: 120%
  }
}

@-ms-keyframes zui {
  0% {
    /*left: left:41px;*/
    left: 41px;
  }

  100% {
    left: 66px;
  }
}

.tou {
  width: 64px;
  height: 60px;
  border-radius: 50%;
  background-color: #626262;
  position: relative;
  z-index: 99
}

.tou:after {
  background-color: #FFF;
  content: '';
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  position: absolute;
  top: 27px;
  left: 30px
}

.zui {
  top: 9px;
  left: 40px;
  position: absolute;
  background-color: #FBBD00;
  width: 56px;
  height: 44px;
  border-radius: 50%
}

.zui:after {
  animation: zui .7s linear infinite alternate;
  -moz-animation: zui .7s linear infinite alternate;
  -webkit-animation: zui .7s linear infinite alternate;
  -o-animation: zui .7s linear infinite alternate;
  position: absolute;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  top: -2px;
  left: 41px;
  content: '';
  display: block;
  border-bottom: 50px solid #FFF;
  border-right: 50px solid transparent;
}

.shen,
.shen>div {
  position: absolute;
  left: -65px;
  top: -18px;
  border-radius: 50%;
  width: 100px;
  height: 100px;
  background-color: #626262
}

.shen>div {
  left: -35px;
  top: 0;
  background-color: #FFF
}

.wei {
  transform: rotate(45deg);
  border-radius: 50%;
  top: 6px;
  left: -28px;
  position: absolute;
  width: 50px;
  height: 48px;
  background-color: #626262
}

.mao {
  left: -46px;
  position: absolute;
  border-top: 7px solid transparent;
  border-right: 30px solid #626262;
  border-bottom: 10px solid transparent;
  border-radius: 5px
}

.m1 {
  top: 11px
}

.m2 {
  top: 21px
}

.m3 {
  top: 30px
}

#bird>ul>li {
  background-color: #D5DBE0;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: block;
  position: absolute;
  top: 20px
}

#bird>ul>li:nth-child(1) {
  left: -100px
}

#bird>ul>li:nth-child(2) {
  left: -135px
}

#bird>ul>li:nth-child(3) {
  left: -165px
}

#bird>ul>li:nth-child(4) {
  left: -195px
}

#bird>ul>li:nth-child(5) {
  left: -225px
}

dl {
  font-weight: 700;
  margin-top: 20px;
  text-align: center
}

dl>dt {
  color: #FBBD00;
  font-size: 7rem
}

dl>dd {
  color: #626262;
  font-size: 1.5rem
}
</style>
